home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: uucp-1.csn.net!slimer!bgeerdes
- From: bgeerdes@igs.com (Bruce Geerdes)
- Subject: Re: Rogue Wave: assign RWCSubString to RWCString (how does it work?)
- Message-ID: <1996Apr9.131907.24213@igs.com>
- Organization: Igs, Inc.
- X-Newsreader: TIN [version 1.2 PL2]
- References: <4kc6dl$d58@cpcug.org>
- Date: Tue, 9 Apr 96 13:19:07 GMT
-
- John Emmerling (johne@cpcug.org) wrote:
- >In Rogue Wave's documentation of the RWCTokenizer class there is an
- >example of using the "()" operator which returns an RWCSubString. The
- >return value is stored in an RWCString. Yes the code example works,
- >however I am at a loss to understand how.
-
- >I can't find any "=" operator, type conversion, etc. that would support
- >assigning an RWCSubString to an RWCString. I have noticed that subclasses
- >of RWCString do not inherit this ability i.e. you can't assign an
- >RWCSubString to an instance one of these.
-
- There is a copy constructor RWCString(const RWCSubString&). I would guess
- the RWCSubString gets converted to a RWCString before operator=(RWCString&).
- --
- bgeerdes@igs.com (Bruce Geerdes)
-